package com.kun;

import com.kun.ext.ExtConfig;
import org.junit.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author fangkun
 * @create 2022-05-05-16:20
 */
public class IOCTest_Ext {

    @Test
    public void test01() {

        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(ExtConfig.class);

        // 关闭容器
        applicationContext.close();
    }

}
